<?php

/**
 * Description of SemesterForm
 *
 * @author LongLT
 */
class SemesterForm extends CWidget {

    public $semesters 		= array();
    public $subjects 		= array();
    public $subject_delete	= null;
    public $semester_delete	= null;

    public function run() {
    	$semesters 			= $this->semesters;
    	$subjects			= $this->subjects;
    	$subject_delete		= $this->subject_delete;
    	$semester_delete 	= $this->semester_delete;
        $this->render('SemesterForm', compact('semesters', 'subjects', 'subject_delete', 'semester_delete'));
    }

}
